﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MFLeft_Module.aspx.cs" Inherits="Pages_Public_MFLeft_Module"
    Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" selectednodestyle-backcolor="Brown" runat="server">
<head id="Head1" runat="server">
    <title>主页左边框架</title>
    <link href="../CSS/main.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/css.css" rel="stylesheet" type="text/css" />
    
</head>
<body  onkeydown="onKeyDown()" oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
    <form id="form1" runat="server">   
    <%--此处不适合用LeftMenu样式（css），因为想不同层次的节点设置不同字体等属性      --%>   
        <div id="LeftMenuAbc" style="width:170px; height:100%;">
            <div>
                <asp:TreeView ID="TreeView1" runat="server" Visible="true" 
                    HoverNodeStyle-Font-Bold="true" HoverNodeStyle-BorderStyle="Outset" 
                    SelectedNodeStyle-BorderStyle="Outset" SelectedNodeStyle-Font-Bold="true" 
                    ParentNodeStyle-ImageUrl="../images/folder-open.gif" 
                    RootNodeStyle-ImageUrl="../images/folder-open.gif" 
                    NodeStyle-ImageUrl="../images/leaf.gif" RootNodeStyle-Font-Size="14px" 
                    ParentNodeStyle-Font-Size="12px" SelectedNodeStyle-ForeColor="Aquamarine" 
                    OnSelectedNodeChanged="Select_Change" 
                    OnTreeNodePopulate="TreeView1_TreeNodePopulate" 
                    CollapseImageUrl="~/images/arrows_2.gif" 
                    ExpandImageUrl="~/images/arrows_1.gif" >
<ParentNodeStyle ImageUrl="../images/folder-open.gif" Font-Size="12px"></ParentNodeStyle>

<HoverNodeStyle BorderStyle="Outset" Font-Bold="True"></HoverNodeStyle>

<SelectedNodeStyle BorderStyle="Outset" Font-Bold="True" ForeColor="Aquamarine"></SelectedNodeStyle>

<RootNodeStyle ImageUrl="../images/folder-open.gif" Font-Size="14px"></RootNodeStyle>

<NodeStyle ImageUrl="../images/leaf.gif" HorizontalPadding="3px"></NodeStyle>
                </asp:TreeView>
            </div>
        </div>
        <%--<div style="display: none">
            <input type="button" id="_lose" name="_lose" />
        </div>   --%>     
    </form>
</body>
</html>
